package com.example.templateapp.util

import android.content.Context
import com.xuexiang.xui.widget.dialog.LoadingDialog

object LoadingDialogFactory {
    fun getDialog(context: Context): LoadingDialog {
        return LoadingDialog(context).apply {
            setIconScale(0.0F)
            setLoadingSpeed(7)
            setCancelable(false)
        }
    }
}